/*
 * @Descripttion: 
 * @version: @ 1.0.0
 * @Author: 朱江洲
 * @Date: 2021-12-02 11:41:35
 * @LastEditors: 朱江洲
 * @LastEditTime: 2022-04-01 11:44:18
 */
import request from "@/utils/request.js";

// 查询场景列表
export const getList = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/examArrange/list',
        params
    })
}

// 分配
export const distribution = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/examArrange/distribution',
        params
    })
}
// 领取
export const receive = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/examArrange/receive',
        params
    })
}
// 更换负责人
export const changeDirector = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/examArrange/changeDirector',
        params
    })
}
// 单个导出
export const singleExport = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/examArrange/export',
        params
    })
}
// 批量导出
export const batchExport = data => {
    return request({
        method: 'post',
        url: '/serviceProvide/examArrange/batchExport',
        data
    })
}
// 设置考场
export const setExamRoom = data => {
    return request({
        method: 'post',
        url: '/serviceProvide/examArrange/setExamRoom',
        data
    })
}

// 设置缺考
export const setMissExam = data => {
    return request({
        method: 'post',
        url: '/serviceProvide/examArrange/setMissExam',
        data
    })
}

// 设置不通过
export const setFailExam = data => {
    return request({
        method: 'post',
        url: '/serviceProvide/examArrange/setFailExam',
        data
    })
}

// 设置通过
export const setPassExam = data => {
    return request({
        method: 'post',
        url: '/serviceProvide/examArrange/setPassExam',
        data
    })
}
// 录入成绩
export const enterResult = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/examArrange/enterResult',
        params
    })
}

// 单个导出
export const oneExport = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/examArrange/export',
        params
    })
}

// 推送
export const push = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/examArrange/push',
        params
    })
}
// 推送列表
export const pushList = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/examArrange/pushList',
        params
    })
}


// 推送页面全部倒出
export const exportAll = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/examArrange/exportAll',
        params
    })
}

